package com.fanxing.generic.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author ZhaoYunLong
 * @date 2020/8/13
 * @description
 */
@Data
@ApiModel(value = "DataSourceVO", description = "数据源（mysql）")
public class DataSourceVO {

    @ApiModelProperty(value = "数据源id", required = true)
    private String id;

    /**
     * 数据源名称
     */
    @ApiModelProperty("数据源名称")
    private String dbname;

    /**
     * 数据库类型（mysql,oracle）
     */
    @ApiModelProperty(value = "数据库类型（mysql,oracle）", required = true)
    private String dbType;

    @ApiModelProperty("数据源连接信息")
    DsConfigVO dsConf;

}
